<template>
    <div id="app">
        <LongList
            :listData="listData"
        ></LongList>
    </div>
</template>

<script>
import LongList from '@/components/LongList/index.vue';

export default {
    components: {
        LongList
    },
    data () {
        return {
            listData: []
        };
    },
    beforeMount () {
        let list = [];
        for (let i = 0; i < 100; i++){
            list.push({
                id: i,
                value: i
            });
        }
        this.listData = list;
    }
}
</script>

<style>

</style>